Actors without Borders: Amnesty for Imprisoned State
نویسندگان
چکیده
In concurrent systems, some form of synchronisation is typically needed to achieve data-race freedom, which is important for correctness and safety. In actor-based systems, messages are exchanged concurrently but executed sequentially by the receiving actor. By relying on isolation and non-sharing, an actor can access its own state without fear of data-races, and the internal behavior of an actor can be reasoned about sequentially. However, actor isolation is sometimes too strong to express useful patterns. For example, letting the iterator of a data-collection alias the internal structure of the collection allows a more efficient implementation than if each access requires going through the interface of the collection. With full isolation, in order to maintain sequential reasoning the iterator must be made part of the collection, which bloats the interface of the collection and means that a client must have access to the whole data-collection in order to use the iterator. In this paper, we propose a programming language construct that enables a relaxation of isolation but without sacrificing sequential reasoning. We formalise the mechanism in a simple lambda calculus with actors and passive objects, and show how an actor may leak parts of its internal state while ensuring that any interaction with this data is still synchronised.
منابع مشابه
Leniency Programs for Multimarket Firms: The Effect of Amnesty Plus on Cartel Formation∗
We examine the effect of the Amnesty Plus policy on firms’ incentives to engage in cartel activities. Amnesty Plus is a proactive antitrust enforcement strategy aimed at attracting amnesty applications by encouraging firms already convicted in one market to report collusive agreements in other markets. It has been heavily advertised that Amnesty Plus weakens cartel stability. We show to the con...
متن کاملFast Money? the Contribution of State Tax Amnesties to Public Revenue Systems
State tax amnesties have become a commonplace component of state tax administration over the last 30 years. This paper reviews the structural evolution of all state amnesty programs and makes the case that their fundamental purpose has shifted from improving tax administration to emphasizing revenue maximization. It then provides empirical evidence on which state amnesty program features aid in...
متن کاملChapter 13 — The future of the market
As previous chapters have shown, the privatization of military and security services in the past decade encompasses a vast range of activities that defy any single explanation. Armed private actors, especially in Western states, now fulfil tasks ranging from military activities that used to be the prerogative of national armed forces to the support of humanitarian aid, disaster relief operation...
متن کاملThe role of state and non-state actors in the policy process: the contribution of policy networks to the scale-up of antiretroviral therapy in Thailand.
Antiretroviral therapy (ART) is difficult in poor settings. In 2001, the Thai government adopted the policy to scale-up its treatment initiative to meet the needs of all its people. Employing qualitative approaches, including in-depth interviews, document review and direct observation, this study examines the processes by which the universal ART policy developed between 2001 and 2007, with the ...
متن کاملThe desirability of a permanent tax amnesty
There are two main concerns about tax amnesty. First, if it is anticipated it may increase cheating and reduce the efficiency of the tax system. Second, amnesty may be inequitable by letting cheaters ‘off the hook’. However, several federal governments currently hold a policy of long-term, or permanent, tax amnesty, in apparent defiance of these concerns. This paper examines fully anticipated t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017